package com.hui.modules.sys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hui.modules.sys.mapper.UserMapper;
import com.hui.modules.sys.model.User;
import com.hui.modules.sys.service.UserService;

@Service
public class UserServicecImpl implements UserService {
	
	@Autowired
	private UserMapper userMapper;
	
	@Override
	public User queryUser(User user) {
		return userMapper.selectByUsername(user.getUsername());
	}

}
